﻿namespace Chain.Wechat
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Xml;

    public class LocationRequest : IRequest
    {
        
        private string _Label;
        
        private string _Location_X;
        
        private string _Location_Y;
        
        private string _MsgId;
        
        private string _Scale;

        public LocationRequest(XmlDocument input) : base(input)
        {
            XmlNode root = base.XmlDoc.FirstChild;
            this.Location_X = root["Location_X"].InnerText;
            this.Location_Y = root["Location_Y"].InnerText;
            this.Scale = root["Scale"].InnerText;
            this.Label = root["Label"].InnerText;
            this.MsgId = root["MsgId"].InnerText;
        }

        public string Label
        {
            
            get
            {
                return this._Label;
            }
            
            set
            {
                this._Label = value;
            }
        }

        public string Location_X
        {
            
            get
            {
                return this._Location_X;
            }
            
            set
            {
                this._Location_X = value;
            }
        }

        public string Location_Y
        {
            
            get
            {
                return this._Location_Y;
            }
            
            set
            {
                this._Location_Y = value;
            }
        }

        public string MsgId
        {
            
            get
            {
                return this._MsgId;
            }
            
            set
            {
                this._MsgId = value;
            }
        }

        public string Scale
        {
            
            get
            {
                return this._Scale;
            }
            
            set
            {
                this._Scale = value;
            }
        }
    }
}

